Take desktop panels into account when sizing frames so they fit on the screen.
authorJan D. <jan.h.d@swipnet.se>
Fri, 15 Jan 2010 17:04:14 +0000 (18:04 +0100)
committerJan D. <jan.h.d@swipnet.se>
Fri, 15 Jan 2010 17:04:14 +0000 (18:04 +0100)
commit3dcf06e70a1792cbd69d8eae5e433352d3962560
tree9e274de2f72f1c60b423a96f93f0a96d4e455dc4
parenta5ad50ffd4848f43d723d037574f4dd48d1d0258
Take desktop panels into account when sizing frames so they fit on the screen.

xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions.
(Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea
to find out usable size of the desktop.  Don't make frames larger than
this. Bug #3643.
src/ChangeLog
src/xfns.c